# -*- coding: utf-8 -*-
__author__ = 'Administrator'
from distutils.core import setup
import glob
import py2exe
from my_verson import myproject

options = {"py2exe":
            {
                "compressed": 1,
                "optimize": 2,
                "bundle_files": 1,
                "dll_excludes": ["w9xpopen.exe"]
            }
        }
setup(
    zipfile=None,
    options=options,
    data_files=[("Config",
                 ["./Config/user_config.ini",]
                 ),
                ("data", [
                "./data/LLMI.ini",
                ])
            ,],
    windows=[{"script": "main.py", "icon_resources": [(1, "./airm2m_logo.ico")]}],
    version = myproject["version"],
    description = myproject["description"],
    name= myproject["name"],
    #name \ description在任务管理器中可以看到
)



